// Author: Albert Wu
// Filename: adminAnnounce.js
// Assignment: Palo Alto Bicycle Club
// Date Created: 6/8/09
// Javascript for displaying website admin announcements

// Admin announcement file URL
var announceURL = "./data/adminAnnounce.txt"; 

// Loads admin announcement from text file as header
function getAdminAnnounce() {
  $.get(announceURL, function(announce) { 
    $("<h2>").attr("id", "announce").css({"text-align": "center"}).append(announce.replace(/\n/g, "<br />")).insertAfter("#homeBody");
  });
}